package com.mallbook.model.pojo;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author 宋明松
 * @Version V1.0.0
 * @Date 2022-06-21
 * 订单详情实体类
 */
public class OrdersDetails {
    private Integer id;
    private Integer orderId;
    private Integer bookId;
    private Integer bookNums;
    private BigDecimal price;

    private List<Goods> goods;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Integer getBookNums() {
        return bookNums;
    }

    public void setBookNums(Integer bookNums) {
        this.bookNums = bookNums;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public List<Goods> getGoods() {
        return goods;
    }

    public void setGoods(List<Goods> goods) {
        this.goods = goods;
    }

    @Override
    public String toString() {
        return "OrdersDetails{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", bookId=" + bookId +
                ", bookNums=" + bookNums +
                ", price=" + price +
                ", goods=" + goods +
                '}';
    }
}
